/**
 * @author: Loy-winters1224@163.com
 * @date: 2014-9-10-上午11:08:19
 */
package net.loyintean.pearlshell.basedb.dto;

import java.io.Serializable;
import java.util.Date;

/**
 * data base opertor infomation.
 * 
 * @author Loy-winters1224@163.com
 * @version 2014-9-10.1.0.0
 */
class Operator implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2900495181700270423L;
	
	/**
	 * encapsulation.
	 * 
	 * @author Loy-winters1224@163.com
	 */
	Operator(){
		super();
	}

	/**
	 * 创建时间
	 * 
	 * @author 團長
	 * @since 2013-5-14
	 */
	private Date createTime;

	/**
	 * 创建人
	 * 
	 * @author 團長
	 * @since 2013-5-14
	 */
	private String creater;

	/**
	 * 更新时间
	 * 
	 * @author 團長
	 * @since 2013-5-14
	 */
	private Date updateTime;

	/**
	 * 更新人
	 * 
	 * @author 團長
	 * @since 2013-5-14
	 */
	private String updater;

	/**
	 * @return the {@link #createTime }
	 */
	Date getCreateTime() {
		return createTime;
	}

	/**
	 * @param createTime
	 *            the {@link #createTime }to set
	 */
	void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**
	 * @return the {@link #creater }
	 */
	String getCreater() {
		return creater;
	}

	/**
	 * @param creater
	 *            the {@link #creater }to set
	 */
	void setCreater(String creater) {
		this.creater = creater;
	}

	/**
	 * @return the {@link #updateTime }
	 */
	Date getUpdateTime() {
		return updateTime;
	}

	/**
	 * @param updateTime
	 *            the {@link #updateTime }to set
	 */
	void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	/**
	 * @return the {@link #updater }
	 */
	String getUpdater() {
		return updater;
	}

	/**
	 * @param updater
	 *            the {@link #updater }to set
	 */
	void setUpdater(String updater) {
		this.updater = updater;
	}

	/**
	 * 
	 * @author Loy-winters1224@163.com
	 * @see java.lang.Object#toString()
	 * 
	 */
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Operator [");
		if (createTime != null) {
			builder.append("createTime=");
			builder.append(createTime);
			builder.append(", ");
		}
		if (creater != null) {
			builder.append("creater=");
			builder.append(creater);
			builder.append(", ");
		}
		if (updateTime != null) {
			builder.append("updateTime=");
			builder.append(updateTime);
			builder.append(", ");
		}
		if (updater != null) {
			builder.append("updater=");
			builder.append(updater);
		}
		builder.append("]");
		return builder.toString();
	}
}
